package git.soulbgm.pojo;

/**
 * 网络相关信息
 *
 * @author SoulBGM
 * @date 2019/10/10 11:03
 */
public class Network {

    /**
     * 网络接口名称
     */
    private String name;

    /**
     * MAC地址
     */
    private String mac;

    /**
     * IP地址
     */
    private String ip;

    /**
     * 接收到的字节数 每秒
     */
    private Long recvBytes;

    /**
     * 发送的字节数 每秒
     */
    private Long sendBytes;

    /**
     * 接收到的数据包 每秒
     */
    private Long recvPackets;

    /**
     * 发送的数据包 每秒
     */
    private Long sendPackets;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Long getRecvBytes() {
        return recvBytes;
    }

    public void setRecvBytes(Long recvBytes) {
        this.recvBytes = recvBytes;
    }

    public Long getSendBytes() {
        return sendBytes;
    }

    public void setSendBytes(Long sendBytes) {
        this.sendBytes = sendBytes;
    }

    public Long getRecvPackets() {
        return recvPackets;
    }

    public void setRecvPackets(Long recvPackets) {
        this.recvPackets = recvPackets;
    }

    public Long getSendPackets() {
        return sendPackets;
    }

    public void setSendPackets(Long sendPackets) {
        this.sendPackets = sendPackets;
    }
}
